package com.addplus.townmall.server.api.service.web.authoritymodule;

import com.addplus.townmall.server.api.model.authority.Role;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface RoleService{


    Page<Role> getRoleByPage(Integer pageNo, Integer pageSize) throws Exception;

    Page<Role> getStoreRoleByPage(Integer pageNo, Integer pageSize) throws Exception;

    Role getRoleById(Integer rId) throws Exception;

    Boolean addRole(Role role) throws Exception;

    Boolean updateRoleById(Role role) throws Exception;

    Boolean logicallyDeleteRoleById(Integer rId) throws Exception;
}
